package springs;

import masses.Mass;


/**
 * @author Robert C. Duvall
 * @author Jenni Mercado
 * @author Zach Michaelov
 */
public class Spring extends AbstractSpring {
    /**
     * Construct a basic spring with a given start and end masses,
     * lenght, and spring constant, k.
     * 
     * @param start start Mass
     * @param end end Mass
     * @param length spring length
     * @param kVal value of spring constant
     */
    public Spring (Mass start, Mass end, double length, double kVal) {
        super(start, end, length, kVal);
    }

    @Override
    public void applyDrivingForce (double dt) {
        // do nothing, this is just a regular, undriven spring
    }

}
